package com.estudy.entity;

/**
 * @author: yi.jianhua
 * @create: 2019/08/02 17:59
 */
public class User {
    /**
     * 用户id
     */
    private String id;
    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 角色code
     */
    private int roleCode;

    /**
     * 员工角色
     */
    private String role;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 员工状态，1 正常 0 注销
     */
    private int status;

    /**
     * 注册时间，毫秒时间戳
     */
    private long regTime;

    private String pass;


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRole() {
        return role;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getRegTime() {
        return regTime;
    }

    public void setRegTime(long regTime) {
        this.regTime = regTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public int getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(int roleCode) {
        this.roleCode = roleCode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", userName='" + userName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", roleCode=" + roleCode +
                ", role='" + role + '\'' +
                ", email='" + email + '\'' +
                ", status=" + status +
                ", regTime=" + regTime +
                ", pass='" + pass + '\'' +
                '}';
    }
}
